const router = require("koa-router")();
const { getList, deleteId, searchTeam, selectState } = require("../controller/teambuy");
const auth = require("../middleware/auth");

router.post('/getList', auth, getList)
router.post('/delete', auth, deleteId)
router.post('/searchTeam', auth, searchTeam)
router.post('/selectState', auth, selectState)

module.exports = router